package heman.server.controllerchain;

import heman.server.controllers.InviteController;
import ks.framework.common.Message;
import ks.framework.communicator.Communicator;
import ks.server.controllers.ServerControllerChain;

/**
 * add InviteController
 * @author Yanyi Zhang
 *
 */

public class InviteControllerChain extends ServerControllerChain{
	@Override
	public boolean process(Communicator com, Message m){
		if(m.getName().equals ("invite")) {
			return new InviteController().process(com, m);
		}
		return next (com, m);
	}
}
